import request from "@/utils/request";

enum API {
    loginApi = '/account',
}

// 查询用户所有列表
export const queryAccountAll = () => {
    return request.get(API.loginApi)
}
// 添加用户
export const addAccount = (data: any) => {
    return request.post(API.loginApi, data)
}